package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (GoldPrice)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:27:59
 */
@ApiModel(value = "价格类型表")
public class GoldPrice implements Serializable {
    private static final long serialVersionUID = -67219250734660738L;
    /**
     * 价格编码
     */
    @ApiModelProperty(name = "priceId",notes = "价格编码",value = "价格编码",required = true)
    private Integer priceId;
    /**
     * 价格类型
     */
    @ApiModelProperty(name = "priceTyp",notes = "价格类型",value = "价格类型",required = true)
    private String priceTyp;
    /**
     * 打折标志
     */
    @ApiModelProperty(name = "onsale",notes = "打折标志",value = "打折标志")
    private String onsale;
    /**
     * 价格类型状态码（1：正常，0：删除）
     * @return
     */
    @ApiModelProperty(name = "priceState",notes = "价格类型状态码（1：正常，0：删除）",value = "价格类型状态码（1：正常，0：删除）")
    private int priceState;

    public Integer getPriceId() {
        return priceId;
    }

    public void setPriceId(Integer priceId) {
        this.priceId = priceId;
    }

    public String getPriceTyp() {
        return priceTyp;
    }

    public void setPriceTyp(String priceTyp) {
        this.priceTyp = priceTyp;
    }

    public String getOnsale() {
        return onsale;
    }

    public void setOnsale(String onsale) {
        this.onsale = onsale;
    }

    public int getPriceState() {
        return priceState;
    }

    public void setPriceState(int priceState) {
        this.priceState = priceState;
    }

    @Override
    public String toString() {
        return "GoldPrice{" +
                "priceId=" + priceId +
                ", priceTyp='" + priceTyp + '\'' +
                ", onsale='" + onsale + '\'' +
                '}';
    }
}